package com.aaa.controller;

import com.aaa.service.BrandInfoService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@RestController
public class BrandControlle {
    @Resource
    private BrandInfoService brandInfoServicee;
    @RequestMapping("/FindAllBrand")
    public List<Map> FindAllBrand(){
        return brandInfoServicee.FindLAllBrandInfo();
    }
}
